package com.meilai.project.entity.business.sale;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author xchen
 * @since 2022-03-19
 */
@Data
@TableName("bill_sale_media_amount")
@ApiModel(value = "BillSaleMediaAmount对象", description = "")
public class BillSaleMediaAmount {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "销售单id")
    private Long bill_sale_id;

    @ApiModelProperty(value = "价格id")
    private Long media_type_spec_price_id;

    @ApiModelProperty(value = "媒体类型规格id")
    @TableField(exist = false)
    private Long media_type_spec_id;

    @ApiModelProperty(value = "天单价")
    private BigDecimal day_price;

    @ApiModelProperty(value = "周单价")
    private BigDecimal week_price;

    @ApiModelProperty(value = "月单价")
    private BigDecimal month_price;

    @ApiModelProperty(value = "媒体类型对应数量")
    private Integer media_count;

    @ApiModelProperty(value = "填写的金额")
    private BigDecimal fill_amount;

    @ApiModelProperty(value = "根据offer表算出来得金额")
    private BigDecimal calc_amount;




    public static final String BILL_SALE_ID = "bill_sale_id";

    public static final String MEDIA_TYPE_ID = "media_type_id";

    public static final String MEDIA_COUNT = "media_count";

    public static final String FILL_AMOUNT = "fill_amount";

    public static final String CALC_AMOUNT = "calc_amount";

}
